package linter.custom;

import org.springframework.stereotype.Component;

/**
 * @author 北煜
 */
@Component
public class CustomResultType {

    /**
     * 不存在
     */
    public static final String USER_NOT_EXIST = "用户不存在！";
    public static final String LIKES_ERROR = "点赞失败！";
    public static final String POSTS_NOT_EXIST = "文章不存在！";
    public static final String COMMENT_NOT_EXIST = "评论不存在！";
    public static final String MODEL_TYPE_NOT_EXIST = "类型不存在！";
    public static final String MODEL_TYPE_ERROR_MSG = "模型类型错误！";
    public static final String UPLOAD_ERROR = "上传失败！";
    public static final String UPLOAD_COURSE_ERROR = "文件上传过程出错！";
    public static final String FILE_NOT_EXIST = "文件不存在！";
    public static final String SAVE_NOT_ERROR = "保存不成功！";
    public static final String VIEWS_ERROR = "查看失败！";
    public static final String CREATION_ERROR = "创建失败！";
    public static final String DELETE_ERROR = "删除失败！";
    public  static final String UPDATE_ERROR = "更新失败！";

    /**
     * 成功
     */
    public static final String LIKES_SUCCESS = "点赞成功！";
    public static final String UPLOAD_SUCCESS = "上传成功！";
    public static final String SAVE_SUCCESS = "保存成功！";
    public  static final String VIEWS_SUCCESS = "查看成功！";
    public static final String CREATION_SUCCESS = "创建成功！";
    public  static final String DELETE_SUCCESS = "删除成功！";
    public  static final String UPDATE_SUCCESS = "更新成功！";

}
